package pl.edu.mimuw.irs.core.model.analysis;

import pl.edu.mimuw.irs.core.model.design.processing.Requirement;
import pl.edu.mimuw.irs.core.model.petrinet.Place;

public class RequirementPlace extends Place {

	// *** Attributes
	
	private Requirement requirement;
	public Requirement getRequirement() {
		return requirement;
	}
	public void setRequirement(Requirement requirement) {
		this.requirement = requirement;
	}

	// *** Constructors

	public RequirementPlace(Requirement requirement) {
		super(getPrefixedNewId(requirement.getName() + "_"));
		setRequirement(requirement);
	}
	
	// *** Methods
}
